package com.iwop.moto.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * Created by mobom on 2016/12/9.
 */
public class MOrderPurchase implements Serializable{

    private static final long serialVersionUID = -5699706209118839612L;
    private String sid;

    /**
     * 用户id
     * */
    private String sellerStoreId;

    /**
     * 店铺id
     * */
    private String buyStoreId;

    /**
     *是否可以抽奖 0不可以抽奖 1可以抽奖
     * */
    private int prize;

    private double money;

    private List<FOrderPurchaseDetail> list;

    /**
     * 订单完成状态 0待支付 1已支付 2拒绝
     * */
    private int status;

    private Date updateTime;

    private Date addTime;

    private String sellerStoreName;

    private String buyStoreName;

    private String sellerTel;

    private String buyTel;

    private String buyPath;

    private String sellerPath;

    private String payOrderNo;

    private String user_id;

    private double couponMoney;

    private double brokerage;
    private String mchType;

    public String getMchType() {
        return mchType;
    }

    public void setMchType(String mchType) {
        this.mchType = mchType;
    }

    public double getCouponMoney() {
        return couponMoney;
    }

    public void setCouponMoney(double couponMoney) {
        this.couponMoney = couponMoney;
    }

    public double getBrokerage() {
        return brokerage;
    }

    public void setBrokerage(double brokerage) {
        this.brokerage = brokerage;
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getSellerStoreId() {
        return sellerStoreId;
    }

    public void setSellerStoreId(String sellerStoreId) {
        this.sellerStoreId = sellerStoreId;
    }

    public String getBuyStoreId() {
        return buyStoreId;
    }

    public void setBuyStoreId(String buyStoreId) {
        this.buyStoreId = buyStoreId;
    }

    public int getPrize() {
        return prize;
    }

    public void setPrize(int prize) {
        this.prize = prize;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public String getBuyStoreName() {
        return buyStoreName;
    }

    public void setBuyStoreName(String buyStoreName) {
        this.buyStoreName = buyStoreName;
    }

    public String getSellerStoreName() {
        return sellerStoreName;
    }

    public void setSellerStoreName(String sellerStoreName) {
        this.sellerStoreName = sellerStoreName;
    }

    public String getSellerTel() {
        return sellerTel;
    }

    public void setSellerTel(String sellerTel) {
        this.sellerTel = sellerTel;
    }

    public String getBuyTel() {
        return buyTel;
    }

    public void setBuyTel(String buyTel) {
        this.buyTel = buyTel;
    }

    public String getBuyPath() {
        return buyPath;
    }

    public void setBuyPath(String buyPath) {
        this.buyPath = buyPath;
    }

    public String getSellerPath() {
        return sellerPath;
    }

    public void setSellerPath(String sellerPath) {
        this.sellerPath = sellerPath;
    }

    public List<FOrderPurchaseDetail> getList() {
        if(this.list==null){
            this.list=new ArrayList<FOrderPurchaseDetail>();
        }
        return list;
    }

    public void setList(List<FOrderPurchaseDetail> list) {
        this.list = list;
    }

    public String getPayOrderNo() {
        return payOrderNo;
    }

    public void setPayOrderNo(String payOrderNo) {
        this.payOrderNo = payOrderNo;
    }
}
